import request from '@/utils/request'

export default {
  removeMessageById(id) {
    return request({
      url: `/admin/message/remove`,
      method: 'delete',
      params: { id: id }
    })
  },
  getPageList(page, limit) {
    return request({
      url: `/admin/message/msgList/${page}/${limit}`,
      method: 'get'
    })
  },
  sendSysMsg(event) {
    return request({
      url: `/admin/message/sendSysMsg`,
      method: "post",
      data: event
    });
  }
}
